package cn.skyquant.quant4j.api.economics;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class EconomicsDTO implements Serializable {
    private static final long serialVersionUID = 11244341123L;
    public Integer id;
    public Integer yingxiang;
    public Double actual;
    public Double consensus;
    public String unit;
    public String revised;
    public Double previous;
    public long publicTimestamp;
    public String statusName;
    public String statusClass;
    public long updatedTimestamp;
    public int updatedNum;

    public Set<EconomicsCategoryImpactDTO> impacts = new HashSet<>();

    @Override
    public String toString() {
        return "EconomicsDTO{" +
                "id=" + id +
                ", yingxiang=" + yingxiang +
                ", actual=" + actual +
                ", consensus=" + consensus +
                ", unit='" + unit + '\'' +
                ", revised='" + revised + '\'' +
                ", previous=" + previous +
                ", publicTimestamp=" + publicTimestamp +
                ", statusName='" + statusName + '\'' +
                ", statusClass='" + statusClass + '\'' +
                ", updatedTimestamp=" + updatedTimestamp +
                ", updatedNum=" + updatedNum +
                ", impacts=" + impacts +
                '}';
    }
}
